package com.amsp.oa.oademo.service;

import com.amsp.oa.oademo.entity.EquipmentAcceptance;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import java.time.LocalDate;

public interface EquipmentAcceptanceService extends IService<EquipmentAcceptance> {

    Page<EquipmentAcceptance> getPage(Integer current, Integer size, String equipmentName,
            String specificationModel, String equipmentNumber, String acceptancePerson,
            LocalDate startDate, LocalDate endDate);

    EquipmentAcceptance getDetailById(Long id);

    boolean saveWithAccessories(EquipmentAcceptance equipmentAcceptance);
}